/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package misc;

/**
 *
 * @author rusak
 */
public class Evaluation {
    
    private double distanceToDest;
    private double euclideanDistance;
    private Integer noOFIntersections;

    public Evaluation(double evaluation, Integer noOFIntersections) {
        this.distanceToDest = evaluation;
        this.euclideanDistance = evaluation;
        this.noOFIntersections = noOFIntersections;
    }
    
    public Evaluation(double evaluation, Integer noOFIntersections, double euclideanDist) {
        this.distanceToDest = evaluation;
        this.noOFIntersections = noOFIntersections;
        this.euclideanDistance = euclideanDist;
    }

    public double getDistanceToDest() {
        return distanceToDest;
    }


    public Integer getNoOFIntersections() {
        return noOFIntersections;
    }

   public double getDetourLength() {
       return distanceToDest - euclideanDistance;
   }
    
}
